﻿package core {
	import flash.geom.Point;
	import core.object.GameAnimation;

    public class EasyMap extends Map {

        public function EasyMap(){
            this.init();
        }
        private function init():void{
            _shooterPost = new Array(new Point(400, 520));
            _lines = 1;
            _holes = new Array(1);
			_nodes = [[[6,81],[200.55,229.125],[378.95,80],[832.95,94],[375,361.95],[200.55,229.125],[74,334.95],[71,447.95],[378.95,464.95],[860.95,186],[859.95,447.95]]];
			var hole:GameAnimation = new GameAnimation(10001,false);
            addChild(hole);
            hole.x = 944;
            hole.y = 408;
            _holes[0] = hole;
        }
		
        override public function openHole(value:int):void{
            _holes[value].gotoAndStop(2);
        }
		
        override public function closeHole(value:int):void{
            _holes[value].gotoAndStop(1);
        }

    }
}
